﻿using BCCommon.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCEntity.WeChatComponent.WeChatMediaRecord
{
    /// <summary>
    /// 微信多媒体文件上传记录
    /// </summary>
    public class WeChatMediaRecordEntity
    {
        /// <summary>
        /// 微信媒体文件Id
        /// </summary>
        public string MediaId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 文件类型
        /// </summary>
        public WeChatMediaType Type { get; set; }
        /// <summary>
        /// 微信返回创建时间
        /// </summary>
        public int CreatedAt { get; set; }
        /// <summary>
        /// 文件名称
        /// </summary>
        public string FileName { get; set; }
        /// <summary>
        /// 素材标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 素材描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 音乐地址
        /// </summary>
        public string MusicUrl { get; set; }
        /// <summary>
        /// 高质量音乐链接
        /// </summary>
        public string HQMusicUrl { get; set; }
        /// <summary>
        /// 新增图片素材返回此字段
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 临时素材
        /// </summary>
        public bool IsTemporary { get; set; }
        /// <summary>
        /// 本地文件地址
        /// </summary>
        public string LocalUrl { get; set; }
        /// <summary>
        /// 已群发
        /// </summary>
        public bool AlreadyPushMessage { get; set; }
    }
}
